home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr36
/
cl30beta.zip
/
CLBATCH.ZIP
/
EXCHANGE.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-10-12
|
3KB
|
73 lines
HOW TO SETUP AS A HUB AND DO CLASSIFIED ADS EXCHANGES
-----------------------------------------------------
Below, is a fully working batch file complete with comments, for the group
hub. There are a few very important things to remember in running the
Classified Ads as a hub.
FIRST, make sure all your nodes have the same categories or mass confusion
will result. SECOND, it is highly advisable that you and your nodes use a
unique name (representative of your board) instead of the generic
"Classify.exp", for example Sun.exp would be the name for Sunrise BBS.
THIRD, this batch file (Exchange.bat) is best run during your event each
night, rather than each time the door is executed, especially if you are
connected to boards that are long distance. The commands for your nightly
event batch file would be:
CD\CLASSIFY
CLPURGE CLASSIFY.CFG
CALL EXCHANGE.BAT
DEL CLASSIFY.EXP
CD\
Exchange.bat would be located in your classified directory and would be the
batch file listed below. You may feel free to remove the comments and use
the batch file below after modification for your system drive/path/name
specifications.
_______________________________________________________________________________
BATCH FILE EXAMPLE FOR THE HUB USING THE CLASSIFIED ADS EXCHANGE PROGRAM
@echo off
del I:\db\files\classify.exp
^ ^^ ^^^^^
Comment: Above would be the drive/path to your inbound/outbound files directory.
This command will delete your previous night's export. NOTE: DO NOT
use this command the first night you start the import/export with
other boards.
cd\db\files
copy *.exp I:\ra\doors\classify
^^^^^
del *.exp
^^^^^
Comment: Copy all exported files sent to you into your classified directory,
then delete all the exported files. FAILURE to use a unique .exp
name will result in files over writing and only the last .exp file
copied will be imported into your database.
cd\ra\doors\classify
clexch IMPEXP classify.cfg
^^^^^^^^^^^^
copy classify.exp i:\db\files
^^^^^^^^^^^^ ^^ ^^^^^
Comment: Perform the import/export (IMPEXP) then copy the resulting export file
from your classify directory to your outbound files directory.
cd\db
dbutil i send 1:114/203 i:\db\files\classify.exp
^^^^^^
Comment: Send the export file to the other boards. Note above that the command
used is for D'Bridge...you may substitute the proper command and
outbound files directory for your front end mailer. You will need to
do an export for every BBS connected to you.
This example provided to you courtesy of: Window In Time
1:114/203
602-253-1946